cmake_minimum_required(VERSION 3.0.2)
project(mutl_uav_serial)

find_package(catkin REQUIRED COMPONENTS
  roscpp
  rospy
  std_msgs
  geometry_msgs
  serial
)

catkin_package(
  CATKIN_DEPENDS roscpp rospy std_msgs geometry_msgs serial
)

include_directories(
  ${catkin_INCLUDE_DIRS}
)

add_executable(flight_mode src/flight_mode.cpp)
target_link_libraries(flight_mode
  ${catkin_LIBRARIES}
)

add_executable(ground_mode src/ground_mode.cpp)
target_link_libraries(ground_mode
  ${catkin_LIBRARIES}
)